Mollie\WooCommerce\Gateway\GatewayModule C

Total Complexity 105
Dependencies 39
Dependents 1
Total lines 551
Lines of code 452
Logical lines of code 360
Comment lines 62
Methods 21
Properties 2

Methods 21

Method Rating Maintainability Complexity Lines of code
services()
B
31 13 126
run()
A
35 11 85
maybeDisableBankTransferGateway()
A
56 13 14
addPhoneWhenRest()
A
54 9 21
addPaymentMethodMandatoryFieldsPhoneVerification()
A
55 8 19
instantiatePaymentMethodGateways()
A
43 6 46
disableMollieOnPaymentMethodChange()
S
60 7 12
addBirthdateWhenRest()
S
58 5 14
in3FieldsMandatoryPayForOrder()
S
60 5 12
switchFields()
S
63 5 9
addShopOrderMetabox()
S
58 4 14
instantiatePaymentMethods()
S
53 3 21
mollieApplePayDirectHandling()
S
61 3 11
molliePayPalButtonHandling()
S
62 3 11
setOrderPaidByOtherGateway()
S
62 3 10
disableSEPAInCheckout()
S
71 2 6
in3FieldsMandatory()
S
69 1 6
buildPaymentMethod()
S
69 1 6
gatewaySurchargeHandling()
S
81 1 3
isPhoneValid()
S
79 1 3
isBirthValid()
S
80 1 3